package com.emep.changzhi.analyse.service.statistics;


import com.emep.changzhi.analyse.entity.statistics.AnnualTotalEmissions;
import com.emep.changzhi.analyse.repository.statistics.AnnualTotalEmissionsRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AnnualTotalEmissionsService {

    @Autowired
    private AnnualTotalEmissionsRepository repository;

    public List<AnnualTotalEmissions> getlist(){

        List<AnnualTotalEmissions>  list=repository.findAll();
        return list;
    }


}
